<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>用户列表</title>
</head>
<body>

	<th />
	<table border="1">
		<tr>
			<th>用户ID</th>
			<th>用户姓名</th>
			<th>用户年龄</th>
			<th>操作</th>
		</tr>
		<tr th:each="user : ${list}">
			<td th:text="${user.id}"></td>
			<td th:text="${user.name}"></td>
			<td th:text="${user.age}"></td>
			<td>
			<a th:href="@{/users/findUserById(id=${user.id})}">更新用户</a>
			<a th:href="@{/users/delUser(id=${user.id})}">删除用户</a>
			</td>
		</tr>
	</table>




</body>
</html>